module.exports = {
  lintOnSave: false,
  publicPath: "./",
  devServer: {
    //代理
    proxy: {
      "/api": {
        target: process.env.VUE_APP_BASE_URL, //根据环境获取当前的服务器地址
        pathRewrite: {
          "^/api": "",
        },
      },
    },
  },
};
